﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Shoppingcart_Customer.aspx.cs" Inherits="Shoppingcart_Customer" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        DataKeyNames="ShoppingID" DataSourceID="SqlDataSource1">
        <Columns>
            <asp:BoundField DataField="ShoppingID" HeaderText="ShoppingID" ReadOnly="True" 
                SortExpression="ShoppingID" />
            <asp:BoundField DataField="ProID" HeaderText="ProID" SortExpression="ProID" />
            <asp:BoundField DataField="Identification" HeaderText="Identification" 
                SortExpression="Identification" />
            <asp:BoundField DataField="Quantity" HeaderText="Quantity" 
                SortExpression="Quantity" />
            <asp:BoundField DataField="DateShopping" HeaderText="DateShopping" 
                SortExpression="DateShopping" />
            <asp:BoundField DataField="TotalPrice" HeaderText="TotalPrice" 
                SortExpression="TotalPrice" />
            <asp:BoundField DataField="status" HeaderText="status" 
                SortExpression="status" />
        </Columns>
    </asp:GridView>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
        ConnectionString="<%$ ConnectionStrings:SmartAccessoriesConnectionString %>" 
        SelectCommand="SELECT * FROM [ShoppingCart] WHERE ([Identification] = @Identification)">
        <SelectParameters>
            <asp:Parameter DefaultValue="173074915" Name="Identification" Type="String" />
        </SelectParameters>
    </asp:SqlDataSource>
</asp:Content>

